swapping of two numbers in java